﻿@model ArticleModel
@using CAF.WebSite.Application.WebUI
@using CAF.WebSite.Application.WebUI.UI;
@using CAF.Infrastructure.Core;
@using CAF.Mvc.JQuery.Datatables.Core;

@if (Model.Id > 0)
{
    <div class="form-group">
        <label class="control-label col-md-2">
            <span class="help-block m-b-none text-muted"><i class="fa fa-info-circle text-info"></i> 图组上传</span>
        </label>
        <div class="col-md-10">

            <input type="hidden" name="pictureurls" class="form-control" value="" id="pictureurls" />
            <div id="uploader" class="wu-example">
                <div class="queueList">
                    <div id="dndArea" class="placeholder">
                        <div id="filePickerBtn"></div>
                        <p>或将照片拖到这里，单次最多可选300张</p>
                    </div>
                </div>
                <div class="statusBar" style="display:none;">
                    <div class="progress">
                        <span class="text">0%</span>
                        <span class="percentage"></span>
                    </div><div class="info"></div>
                    <div class="btns">
                        <div id="filePicker2"></div><div class="uploadBtn">开始上传</div>
                    </div>
                </div>
            </div>

        </div>
    </div>
    <script type="text/javascript">
        var  articleId=@Model.Id;
    </script>
    <script src="~/Content/assets/global/plugins/webuploader/pics.js"></script>

    
}


else
{
    <div class="alert alert-danger">
        @T("Admin.SaveBeforeEdit")
    </div>
}

